{extend name="layout"}
{block name="detail"}
{include file="common/headSearch"/}
<style>
    .ssss img{max-width:100%;}
</style>
<div class="aui-content-box" style="margin-top:44px;padding: 10px;">
    <div style="margin-bottom: 10px;">
        <img src="{$shop.img}" style="display: inline-block;width:50px;" />
        <div style="display: inline-block">
            <b style="margin-right: 10px;">{$shop.name}</b>
            <span>本店商品：{$productCount}　好评{$rate}</span>
            <p>客服电话：<a href="tel:{$shop.phone}">{$shop.phone}</a></p>
        </div>
    </div>



    <div class="ssss"></div>
    <section class="aui-list-product" style="margin-top: 10px;">
        <div class="aui-list-product-box">
            {volist name="products['products']" id="product"}
            <div style="padding: 10px;border: 1px solid #e7e7e7;background-color: #fafafa;float: left;width: 47%;margin-right: 3%;height: 150px;">
            <a href="{:url('index/shop/product_dtl')}?id={$product.id}&sid={$shop.id}">
                <img src="{$product.img}" width="100%">
                <div class="aui-list-product-item-text">
                    <h3>{$product.title}</h3>
                    <div class="aui-list-product-mes-box">
                        <div>
                            <span class="aui-list-product-item-price"><em>¥</em>{$product.salePrice}</span>
                        </div>
                        <div class="aui-comment">{$products['comment'][$key]}评</div>
                    </div>
                </div>
            </a>
            </div>
            {/volist}
        </div>
    </section>
</div>
<div style="height:100px;"></div>

{/block}